package com.weiyi.weiman.domain.status;

import lombok.Data;

/**
 * @Author zhang
 * @Date 2021/5/10 上午11:40
 * @Description 实体类状态码的信息
 * @Version 1.0
 **/
public enum  EntityStatus {
    //状态正常
    STATUS_NORMAL(0),
    //状态冻结
    STATUS_LOCK(1),

    //章节免费
    CHAPTER_FREE(0),
    //章节收费
    CHAPTER_CHARGE(1);


    int code;

    EntityStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
